<section id="products_outer" class="twelve columns">

    <div class="box_head">

        <h3><?php echo $title; ?></h3>

    </div>



    <ul>

        <?php  

        foreach ($list_data as $row) {

            $postdate	= date('d M Y',strtotime($row->datekeyin)); // tanggal posting
			$news		= nl2br($row->news); // membuat paragraf pada isi berita
			$news		= substr($news,0,150); // ambil sebanyak 220 karakter
			$news		= substr($news,0,strrpos($news," ")); // potong per spasi kalimat
			echo "<li>" . anchor("main/news/detail/$row->newsid", $row->title);
			echo "<ul>" . $postdate . "<br>". $news ."<br><br>". anchor("main/news/detail/$row->newsid","Read More...") ."</ul>";
            echo "</li>";

        }

        ?>



    </ul>

    <?php

    echo "<center>" . $link_pagging . "</center>";

    ?>

</section>



